


*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-transform: capitalize;
    font-family: 'Courier New', Courier, monospace;
    } 
  .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); 
  grid-gap: 25px;
  margin: 20px;
  margin-top: 200px;
  } 
  .card {
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-rows: 1fr 1fr;
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  } h3 {
  color: white;
  font-size: 20px;
  margin: 20px 0 0 20px;
  } p {
  color: white;
  font-weight: 40;
  font-size: 16px;
  align-self: end;
  margin: 0 0 20px 20px;
  letter-spacing: 0.5px;
  } img {
  position: absolute;
  display: flex;
  height: 110%;
  width: 100%;
  z-index: -1;
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  } .card:hover {
  transform: scale(1.035, 1.035);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
 }.card:hover img {
  transform: translateY(-10px);
}

@media screen and (max-width: 600px) {
  .container {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr))
   }
}
@media screen and (max-width: 550px) {
  .container {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr))
   }
}
@media screen and (max-width: 500px) {
  .container {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr))
   }
}
@media screen and (max-width: 450px) {
  .container {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr))
   }
}
@media screen and (max-width: 400px) {
  .container {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr))
   }
}
@media screen and (max-width: 350px) {
  .container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr))
   }
}
.nav-logo{
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 12;
}
.logo-image {
  position: fixed;
 width: 300px;
 height: 100px; 
}

@media screen and (max-width: 600px) {
  .logo-image {
    width: 200px;
    height: 70px;
   }
}

@media screen and (max-width: 500px) {
  .logo-image {
    width: 180px;
    height: 60px;
   }
}

@media screen and (max-width: 400px) {
  .logo-image{
    width: 160px;
    height: 55px;
   }
}

@media screen and (max-width: 300px) {
  .logo-image {
  width: 150px;
    height: 50px;
   }
}










